<template>
  <div class="page-memberSet">
    <wl-panel setW="900" title="权限配置" subTitle titleIcon="btn_qxpz">
      <template v-if="footerFlag" slot="panel_footer">
        <el-button @click="editAcc" type="primary">保存</el-button>
      </template>
      <template slot="panel_body">
        <el-form
          :model="authority_list"
          status-icon
          ref="ruleForm"
          label-width="100px"
          class="demo-ruleForm"
        >
          <wl-form-inner subTitle="基本信息">
            <template slot="inner_body">
              <el-form-item>
                <wl-checkbox-group
                  v-show="key!=0"
                  :field="key"
                  :allData="authority_list.item"
                  :rawData="authority_list.list"
                  v-for="(li,key) in formData"
                  :key="li.id"
                  :totalData="li"
                ></wl-checkbox-group>
              </el-form-item>
            </template>
          </wl-form-inner>
        </el-form>
      </template>
    </wl-panel>
  </div>
</template>
<script lang="ts" src="./member_set_panel.ts"></script>
<style scoped>
.form-linefeed {
  margin: 10px 0;
}

.page-memberSet {
  width: 920px;
  transform: translateY(-5%);
  margin-left: -50%;
}
</style>
